﻿using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Workflow2211A.Application.DTO.Inputs.Workflow;
using Workflow2211A.Application.DTO.Outputs.Workflow;
using Workflow2211A.Domain.Entities;

namespace Workflow2211A.Application
{
    public class WorkflowProfile:Profile
    {
        public WorkflowProfile()
        {
            CreateMap<DefinitionAddInput, WorkflowDefinitionModel>();

            CreateMap<AuditAddInput, AuditsModel>();
            
            CreateMap<AuditsModel, AuditOutput>();

            CreateMap<WorkflowDefinitionModel, WorkflowDefinitionOutput>();

            CreateMap<WorkflowInstanceModel, WorkflowInstanceOutput>();
        }
    }
}
